package ar.com.vates.hilos2;

public class Contenedor {
	
	private int var;
	
	public Contenedor(int n){
		this.var = n;
	}

	public synchronized int getVar() {
		return var;
	}

	public synchronized void setVar(int v) {
		this.var = v;
	}

}
